﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteIntranet.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    RegistrarMantenible
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Registrar Mantenible</h2><br></br>
    <link rel="stylesheet" href="<%: Url.Content("~/Content/jquery-ui.css") %>" />

    <link rel="stylesheet" href="<%: Url.Content("~/Content/jPages.css") %>">
    <script type="text/javascript" src="<%: Url.Content("~/Scripts/jPages.js") %>"></script>

    <script type="text/javascript" src="<%: Url.Content("~/Scripts/Validaciones.js") %>" type="text/javascript"></script>
    <script type="text/javascript" src="<%: Url.Content("~/Scripts/Mantenible.js") %>" type="text/javascript"></script>

    <div id = "Registrar">    
                               <label>Nombre(*) :</label>
                               <input type="text" id="RegTbxNombre" class="text ui-widget-content ui-corner-all"/>
                               <label id="RegLblErrorNombre" class="erroresClase" style="color: Red"></label><br></br>
                               
                               <label>Tipo(*) :</label>
                               <input name="RegRbnTipoMantenible" type="radio" value="Activo" style="width:30px;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Activo</label>
                               <input name="RegRbnTipoMantenible" type="radio" value="No Activo" style="width:75px;" class="text ui-widget-content ui-corner-all"/><label style="width:250px; text-align:left">No Activo</label>
                               <label id="RegLblErrorTipoMantenible" class="erroresClase" style="color: Red"></label><br></br>
                               
                               <label>Edificio(*) :</label>
                               <select id="RegSctEdificio" onchange="cargarAreaComunesR();" class="text ui-widget-content ui-corner-all"></select>
                               <label id="RegLblErrorEdificio" class="erroresClase" style="color: Red"></label><br></br>

                               <label>Area Comun :</label>
                               <select id="RegSctAreaComun" class="text ui-widget-content ui-corner-all"></select><br></br>

                               <label>Costo(S/.):</label>
                               <input type="text" id="RegTbxCosto" class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <label id="RegLblErrorCosto" class="erroresClase" style="color: Red"></label><br></br>

                               <label>Peso(Kg.):</label>
                               <input type="text" id="RegTbxPeso" class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <label id="RegLblErrorPeso" class="erroresClase" style="color: Red"></label><br></br>          

                               <label>Área(m2):</label>
                               <input type="text" id="RegTbxArea" class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <label id="RegLblErrorArea" class="erroresClase" style="color: Red"></label><br></br>

                               <input type="submit" id = "RegBtnRegistro" value="Registrar" class="submit-button"/>
                               <input type="submit" id = "botonLimpiar" value="Limpiar" class="submit-button"/>
                               <input type="submit" id = "RegBtnCancelar" value="Cancelar" class="submit-button" /><br></br>
                       
</div>
</asp:Content>

